package com.itheima.bos.service;

import com.itheima.bos.domain.Subarea;
import com.itheima.bos.utils.PageBean;
import org.hibernate.criterion.DetachedCriteria;

import java.util.List;

/**
 * Created by Mr.King on 2017/3/12.
 */
public interface ISubareaService {
    public void saveOrUpdate(Subarea model);

    public void pageQuery(PageBean pageBean);

    public List<Subarea> findAll();

    public List<Subarea> findListByAjax(DetachedCriteria criteria);
}
